<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
	<link rel="shortcut icon" href="/static/img/favicon.ico">
	<link rel="stylesheet" href="/static/css/bootstrap.min.css"/>
	<title>日志管理</title>
</head>
<body class="text-center">
	<script type="text/javascript" src="/static/js/jquery.min.js"></script>
	<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
	
	<div>
		<table class="table table-hover">
		  <thead>
		    <tr>
		    	<th scope="col">
		    		<input onclick="logCheckbox(this);" type="checkbox">
		    	</th>
		      <th scope="col">编号</th>
		      <th scope="col">日志名称</th>
		      <th scope="col">时间</th>
		      <th scope="col">大小</th>
		      <th scope="col">操作</th>
		    </tr>
		  </thead>
		  <tbody>
		    <tr>
		    	<td><input class="childcheckbox" type="checkbox"></td>
		      <td></td>
		      <td></td>
		      <td></td>
		      <td></td>
		      <td>
		      		<p>
		      			<button type="button" class="btn btn-primary btn-xs" onclick="logOpen();">打开</button>
		      			<button type="button" class="btn btn-dranger btn-xs" onclick="logDownload();">下载</button>
		      		</p>
		      </td>
		    </tr>
		  </tbody>
		</table>
	</div>

	<script type="text/javascript">
		function logOpen(){
			
		}
		function logDownload(){
			
		}
		function logCheckbox(e){
			$(".childcheckbox").each(function(a){
				this.checked = e.checked;
			});
		}
	</script>

</body>
</html>